package com.payroll.framework;

/*******************************************************
 *                                                     *
 * AMS CONFIDENTIAL AND PROPRIETARY INFORMATION        *
 * (C) 2002 AMERICAN MANAGEMENT SYSTEMS, INCORPORATED  *
 * DO NOT COPY OR DISLCOSE                             *
 * ALL RIGHTS RESERVED                                 *
 *                                                     *
 *******************************************************
*/
/**
 * Stores alias information for datasources defined in the AMSResourceBundle.
 * @author: Amin Ahmad
 */

public class AliasInfo {
	private String alias;
	private String dataSource;
	private String userId;
	private String password;
/**
 * AliasInfo default constructor.
 */
public AliasInfo() {
	super();
}
/**
 * Returns the alias name.
 * @return The datasource alias name.
 */
public java.lang.String getAlias() {
	return alias;
}
/**
 * Returns the datasource name.
 * @return The datasource name.
 */
public java.lang.String getDataSource() {
	return dataSource;
}
/**
 * Returns the password for the datasource.
 * @return The datasource password.
 */
public java.lang.String getPassword() {
	return password;

}
/**
 * Returns the user ID for the datasource.
 * @return The datasource user ID.
 */
public java.lang.String getUserId() {
	return userId;
}
/**
 * Sets a datasource alias name.
 * @param p_newAlias New alias name.
 */
public void setAlias(java.lang.String p_newAlias) {
	alias = p_newAlias;
}
/**
 * Setter for datasource name.
 * @param p_newDataSource The new datasource name.
 */
public void setDataSource(java.lang.String p_newDataSource) {
	dataSource = p_newDataSource;
}
/**
 * Setter for password.
 * @param p_newPassword The new password.
 */
public void setPassword(java.lang.String p_newPassword) {
	password = p_newPassword;
}
/**
 * Setter for UserId.
 * @param p_newUserId The new user ID.
 */
public void setUserId(java.lang.String p_newUserId) {
	userId = p_newUserId;
}
}
